GtkApplication: fix !x11 build
authorMatthias Clasen <mclasen@redhat.com>
Fri, 20 Jan 2012 13:16:35 +0000 (08:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 20 Jan 2012 13:16:35 +0000 (08:16 -0500)
Since we moved the menu models to GTK+, we need to deal with
them on all platforms, even if we don't do anything special
with them on win32.

gtk/gtkapplication.c

index b4c29a8a3bc12f748376925b6a882c237d84737d..d2aabc4324081f0b6811c935c86c5b21337f91b6 100644 (file)
@@ -147,16 +147,17 @@ struct _GtkApplicationPrivate
 
   gboolean register_session;
 
+  GMenuModel      *app_menu;
+  GMenuModel      *menubar;
+
 #ifdef GDK_WINDOWING_X11
   GDBusConnection *session_bus;
   const gchar     *application_id;
   gchar           *object_path;
 
-  GMenuModel      *app_menu;
   gchar           *app_menu_path;
   guint            app_menu_id;
 
-  GMenuModel      *menubar;
   gchar           *menubar_path;
   guint            menubar_id;